package com.azt.model;

import java.util.Date;

/**
 * 验证码
 * Created by shangwq on 2016/8/8.
 */
public class VerifyCode {
    private String code;

    private Date createTime;

    private Date expireTime;

	private String contact;//邮箱或手机号数据
    
    public VerifyCode() {}

    public VerifyCode(String code, Date createTime, Date expireTime) {
        this.code = code;
        this.createTime = createTime;
        this.expireTime = expireTime;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}
    
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }
}
